package com.chixing.day07_adstract.prototype;




public class JobTest {

    public static void main(String[] args) throws CloneNotSupportedException {
        Job job = new Job();
        job.setJobId(201);

        Company company = new Company();
        job.setCompany(company);
        job.setJobName("Java开发工程师");
        job.setJobMinSalary(3000);
        job.setJobMaxSalary(8000);
        job.setJobDegree("本科");
        job.setJobCity("苏州");

        Object cloneJob = job.clone();
        System.out.println("原始对象："+job);
        System.out.println("克隆对象："+cloneJob);
        
    }
}
